// enable use of extended keywords
#pragma language=extended

#include <io430x14x.h>
#include "ringbuffer.h"

void main()
{
  unsigned char data;
  InitBuffer();
  Write(12);
  
  data = Read();
  data++; 
  // nur zum testen
  for (unsigned char i = 0; i < 4; i++)
  {
    Write(i);
    //if (Error)
      //printf("schas");

  } 
  
  for (unsigned char i = 0; i < 4; i++)
  {
    Read();
  }
}
